vm_event: remove xc_mem_access_enable_emulate() and friends
authorRazvan Cojocaru <rcojocaru@bitdefender.com>
Mon, 15 Feb 2016 13:13:31 +0000 (14:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Feb 2016 13:13:31 +0000 (14:13 +0100)
commit51c2291e14f00bfd95d8a9dc0d44092254510a60
tree5c612b6285f359227156484729caa52592b59828
parentfb0e5fea8acaf55d313a6eb6037c6549d0fc10af
vm_event: remove xc_mem_access_enable_emulate() and friends

xc_mem_access_enable_emulate() and xc_mem_access_disable_emulate()
are currently no-ops, that is all they do is set a flag that
nobody else checks. The user can already set the EMULATE flags in
the vm_event response if emulation is desired, and having an extra
check above that is not inherently safer, but it does complicate
(currenly unnecessarily) the API. This patch removes these
functions and the corresponding hypervisor code.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_mem_access.c
xen/common/mem_access.c
xen/include/asm-arm/p2m.h
xen/include/asm-x86/domain.h
xen/include/asm-x86/p2m.h
xen/include/public/memory.h